package cn.demo.rocketmq.transaction.demo1.util;

import lombok.Data;

import java.util.Date;

/**
 * Created by Administrator on 2018/10/21.
 */
@Data
public class Order {
    public static int PREPARED = 0;
    public static int COMPLETED = 1;

    private String orderId;
    private String userId;
    private double amount;
    private int state;
    private String userName;
    private Date updateTime;
}
